package com.opal.system.service;

import com.opal.domain.ReturnMessageData;
import com.opal.system.entity.table.OpalPermission;
import com.opal.system.entity.table.OpalRole;

import java.util.List;

public interface ManageService {

	public ReturnMessageData addPermissionSercice(OpalPermission permission);

	public List<OpalPermission> selectAllPermissionSercice();

	/**
	 * 修改权限
	 * @param permission
	 * @return
	 */
	public ReturnMessageData updatePermissionSercice(OpalPermission permission);

	/**
	 * 删除角权限
	 * @param opalPermissions
	 * @return
	 */
	public ReturnMessageData deletePermissionSercice(OpalPermission[] opalPermissions);

	
	


}
